package com.neuedu.outpatient01.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neuedu.outpatient01.entity.Medicaldisease;
import com.neuedu.outpatient01.mapper.MedicaldiseaseMapper;

@Transactional
@Service
public class MedicaldiseaseServiceImpl implements MedicaldiseaseService{
	@Autowired
	private MedicaldiseaseMapper dao;

	@Override
	public int insertDiseaseInfor(Medicaldisease md) {
		// TODO Auto-generated method stub
		return dao.insertDiseaseInfor(md);
	}

	@Override
	public int updateDiseaseInfor(Medicaldisease md) {
		// TODO Auto-generated method stub
		return dao.updateDiseaseInfor(md);
	}

	@Override
	public Medicaldisease inquireHistoryMDiseas(Integer MedicalID) {
		// TODO Auto-generated method stub
		return dao.inquireHistoryMDiseas(MedicalID);
	}

	@Override
	public Medicaldisease inquireRegisterIDimage(Integer RegistID) {
		// TODO Auto-generated method stub
		return dao.inquireRegisterIDimage(RegistID);
	}


}
